package com.mzj.saas.mservice.records.repository;

import com.mzj.saas.mservice.records.entity.HousePutRecords;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface HousePutRecordsRepository extends PagingAndSortingRepository<HousePutRecords,Long>, JpaSpecificationExecutor<HousePutRecords> {
    HousePutRecords findByApplyId(Long applyId);

    List<HousePutRecords> findByHouseIdAndMatchUserIdAndApplyId(String houseId,String matchUserId,Long applyId);

    HousePutRecords findByMatchUserId(String matchUserId);

}
